<?php
/*
	获取活动详情
*/
defined('BY_JYA') or exit('error');
list($goods_id,$active_id)=$arguments;
$info=pdo_get('jy_exchange_group',array('id'=>$active_id));
$goods=json_decode($info['goods'],true);
		foreach($goods as $v){
			if($v['goodsid']==$goods_id){
				if($v['total']>0){
					return true;
				}
			}
		}
		return false;
